package com.gali.shop.service;

import com.gali.shop.pojo.TbBrand;
import com.gali.shop.utils.PageResult;
import com.gali.shop.utils.QueryBeanPage;
import com.gali.shop.utils.ResultUtil;

import java.util.List;
import java.util.Map;

/**
 * @author gali
 * @description:
 * @date 2022/6/28 10:53
 */
public interface TbBrandService {
    ResultUtil findOne(Long id);

    PageResult findAll(QueryBeanPage queryBeanPage);

    ResultUtil addBrand(TbBrand tbBrand);

    ResultUtil removeBrand(Long []ids);

    ResultUtil reviseBrand(TbBrand tbBrand);

    PageResult selectKeyWord(QueryBeanPage queryBeanPage,TbBrand tbBrand);

    List<Map> selectBrand();
}
